package com.yanqu.road.entity.activity.shuihuyezipai.config;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @Description 卡牌配置
 * @Author cwq
 * @Data 2021/12/6 17:45
 */
@FieldTypeAnnotation(tableName = "t_s_activity_yezicard_card")
public class ShuiHuYeZiCardCardConfig {

    @FieldTypeAnnotation(desc = "活动id",select = true, update = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "卡牌id",update = true)
    private int id;
    @FieldTypeAnnotation(desc = "卡牌阵营")
    private int type;
    @FieldTypeAnnotation(desc = "卡牌点数")
    private int point;
    @FieldTypeAnnotation(desc = "升级所需卡")
    private String upgradeCondition;
    @FieldTypeAnnotation(desc = "升级提升点")
    private String upgradePoint;
    @FieldTypeAnnotation(desc = "卡牌积分")
    private int score;
    @FieldTypeAnnotation(desc = "金卡权重")
    private int goldWeight;
    @FieldTypeAnnotation(desc = "普通卡权重")
    private int weight;

    /**
     * 升级所需卡
     */
    public List<Integer> upgradeConditionList = new ArrayList<>();

    /**
     * 每个等级对应的点数
     */
    public Map<Integer,Integer> levelPointMap = new HashMap<>();

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getPoint() {
        return point;
    }

    public void setPoint(int point) {
        this.point = point;
    }

    public String getUpgradeCondition() {
        return upgradeCondition;
    }

    public void setUpgradeCondition(String upgradeCondition) {
        this.upgradeCondition = upgradeCondition;
    }

    public String getUpgradePoint() {
        return upgradePoint;
    }

    public void setUpgradePoint(String upgradePoint) {
        this.upgradePoint = upgradePoint;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public int getGoldWeight() {
        return goldWeight;
    }

    public void setGoldWeight(int goldWeight) {
        this.goldWeight = goldWeight;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }
}
